package com.example.listfragment;

import android.os.Bundle;
import android.app.Activity;
import android.app.FragmentManager;
import android.view.Menu;

public class MainActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		//setContentView(R.layout.activity_main);
		FragmentManager fm = getFragmentManager();
		
		//if (fm.findFragmentById(android.R.id.content)== null) {
			
			SimpleListFragment list = new SimpleListFragment();
			fm.beginTransaction().add(android.R.id.content, list).commit();
			
			
		//}
	}

	

}
